package com.qqtech.qquan.mall.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class MallShopCategory extends BaseDomain{

	//columns START
    /** 类目id */
	private java.lang.String categoryId;
    /** 父类id */
	private java.lang.String parentId;
    /** 类目名称 */
	private java.lang.String name;
    /** 类目排序,越小越靠前 */
	private java.lang.Integer oidx;
    /** 级别，1,2... */
	private java.lang.Integer level;
    /** 状态:1-有效;2-无效 */
	private java.lang.Integer status;
    /** 名称首字母 */
	private java.lang.String firstLetter;
    /** 最后操作人id */
	private java.lang.Integer operatorId;
	/** 种类:1-邻里店,2-周边商家 */
	private java.lang.Integer type;
	//columns END
	public MallShopCategory(){
	}

	public MallShopCategory( java.lang.Integer id ){
		this.id = id;
	}

	public void setCategoryId(java.lang.String categoryId) {
		this.categoryId = categoryId;
	}

	public java.lang.String getCategoryId() {
		return this.categoryId;
	}
	
	public void setParentId(java.lang.String parentId) {
		this.parentId = parentId;
	}

	public java.lang.String getParentId() {
		return this.parentId;
	}
	
	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setOidx(java.lang.Integer oidx) {
		this.oidx = oidx;
	}

	public java.lang.Integer getOidx() {
		return this.oidx;
	}
	
	public void setLevel(java.lang.Integer level) {
		this.level = level;
	}

	public java.lang.Integer getLevel() {
		return this.level;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setFirstLetter(java.lang.String firstLetter) {
		this.firstLetter = firstLetter;
	}

	public java.lang.String getFirstLetter() {
		return this.firstLetter;
	}
	
	public void setOperatorId(java.lang.Integer operatorId) {
		this.operatorId = operatorId;
	}

	public java.lang.Integer getOperatorId() {
		return this.operatorId;
	}

	public java.lang.Integer getType() {
		return type;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

